package org.bjf.modules.core.web.advice;

import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;


/**
 * jsonp 跨域支持，因为项目里面有cors跨域支持，暂时注释掉
 */
//@ControllerAdvice
//@Order(9999)// 顺序在LiveRespBodyAdvice后面
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice {

  public JsonpAdvice() {
    super("callback", "jsonp");
  }
}